Release 10.1A: OpenEdge Development:
Programming Interfaces
prordc() - Read CHARACTER Variable
The
prordc()function reads the value of a sharedCHARACTERvariable.On successful completion,
prordc()returns 0; otherwise, it returns a non-zero value:Syntax
psymnamThis input parameter points to the name of the specified shared
CHARACTERvariable. You supply the name from your OpenEdge application.indexThis input parameter specifies an index value for an array variable. If the variable is not an array, you must set the value of index to 0.
pvarThis output parameter points to a buffer where
prordc()returns the value of the specifiedCHARACTERvariable.punknownThis output parameter points to an integer where
prordc()returns 1 if the variable has the Unknown value (?), and returns 0 otherwise.varlenThis input parameter contains the length of the buffer that pvar specifies.
pactlenThis output parameter points to an integer where
prordc()returns the actual length (in bytes) of the data in the specifiedCHARACTERvariable.See also
prordd() - Read DATE Variable, prordi() - Read INTEGER Variable, prordl() - Read LOGICAL Variable, prordn() - Read DECIMAL Variable, prordr() - Read RECID Variable, prowtc() - Write CHARACTER Variable
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |